exports.push = obj => {
	return new Promise((resolve, reject) => {
		if(!obj.content) {
			reject({})
			return
		}
		require('../util/BaiduPush')({
        	apikey: 'XjZGXnn0WFEZeGUWISyzajbA',
        	secretKey: 'hKtejZbXGNsUtcyXwzj49dsZvAi5jhcT'
        }).pushTags({
        	tag: 'admin',
        	msg_type: 1,
        	title: obj.title || 'system',
        	description: obj.content
        }).then(result => {
        	resolve(result)
        }, result => {
        	reject(result)
        })
	})
}